package com.woniuxy.micromedicalserver.hospitalmanage.service.impl;


import com.woniuxy.micromedicalserver.bean.HospitalLevelBean;
import com.woniuxy.micromedicalserver.hospitalmanage.mapper.HospitalLevelMapper;
import com.woniuxy.micromedicalserver.hospitalmanage.service.IHospitalLevelService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;


@Service
@Transactional(readOnly = true)
public class HospitalLevelServiceImpl implements IHospitalLevelService {

    @Resource
    private HospitalLevelMapper hospitalLevelMapperImpl;

    @Override
    public List<HospitalLevelBean> selectAll() {
        return hospitalLevelMapperImpl.selectAll();
    }

    @Override
    public HospitalLevelBean selectByID(Integer ID) {
        return hospitalLevelMapperImpl.selectByID(ID);
    }
}
